<template>
    <div>
      <van-nav-bar
        left-arrow
        title="施工擅长"
        @click-left="toBack"
      />

      <div style="padding: 0rem 1rem 0rem 1rem" align="left" v-html="detaList.shanchang"></div>

    </div>
</template>

<script>
  import { getDetailsId } from "@/api/constructionTeam/building";
    export default {
        name: "shanchang",
      data(){
        return{
          detaList: Array,
        }
      },
      created(){
        const constructionId = this.$route.query && this.$route.query.constructionId;
        this.getDetailsId(constructionId);
      },
      methods:{
        getDetailsId(constructionId) {
          getDetailsId(constructionId).then(res => {
            this.detaList = res.data.data;
          })
        },

        //返回上一层
        toBack(){
          this.$router.go(-1);
        },
      }
    }
</script>

<style scoped>

</style>
